import { EmailService } from './email.service';
import { Controller, Get } from '@nestjs/common';

@Controller('email')
export class EmailController {
  constructor(
    private readonly emailService: EmailService,
  ) {}

  @Get()
  sendEmail() {
    this.emailService.sendEmail();
    return "OK";
  }
}
